package com.nidu.demo.dept.dto;

import com.nidu.demo.base.BaseQry;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 部门查询对象
 *
 * @author auto
 */
@Data
@Schema(description = "部门查询对象")
@EqualsAndHashCode(callSuper = true)
public class DepartmentQry extends BaseQry {

    /**
     * 部门编码
     */
    @Schema(description = "部门名称", example = "office")
    private String deptCode;

    /**
     * 部门名称
     */
    @Schema(description = "部门名称", example = "技术部")
    private String deptName;

    /**
     * 父部门ID
     */
    @Schema(description = "父部门ID", example = "0")
    private Long parentId;

    /**
     * 公司ID
     */
    @Schema(description = "公司ID", example = "1")
    private Long companyId;

}